home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / C / Applications / Python 1.3.3 / Python 133 SRC / Demo / stdwin / TestTextEdit.py < prev    next >
Text File  |  1995-12-21  |  263b  |  14 lines

  1. #! /usr/local/bin/python
  2.  
  3. # Test TextEdit widgets
  4.  
  5. def main():
  6.     from TextEdit import TextEdit
  7.     from WindowParent import WindowParent, MainLoop
  8.     w = WindowParent().create('Test TextEdit', (0, 0))
  9.     t = TextEdit().create(w, (40, 4))
  10.     w.realize()
  11.     MainLoop()
  12.  
  13. main()
  14.